Hi,
since my last upgrade to the zenphoto version 1.2.1 [2756] nightly, my custom thumbnails from image_album_statistics for the last updated albums aren't displayed.
Here is the code I get in my image src :
http://mysuperincrediblesite.com/cache/album2/subalbum2/_75_cw75_ch75.jpgIt seems that the name of the image isn't displayed before "_75_cw75_ch75.jpg" so no thumbnail is diplayed. I set my chmod, cache and albums, to 755 but it doesn't work.
Do you have any idea about it ?
Comments
The custom thumbs are a hack, aren't they? I believe it was me who told you how to do that a while back. Could you post the code in question? I do not remember how we did it...
$albumthumb = $tempalbum->getAlbumThumbImage();
echo "<img src=\"".WEBPATH."/".ZENFOLDER."/i.php?a=".$tempalbum->name."&i=".$albumthumb->name."&s=75&cw=75&ch=75\">\n";
http://www.zenphoto.org/support/topic.php?id=3730
I was wondering if you had added this parameter in the nightly versions til you gave me this trick but it doesn't work anymore.
As far as I know, the only thing that I 'm missing is the name of the photo before _75_cw75_ch75.jpg to make it work. Strange.
http://www.zenphoto.org/support/topic.php?id=4145&replies=22#post-25294
You're right... I talk too fast : it doesn't work for me :
I use zenphoto version 1.2.1 [2756]
and I've got this code on my index page to print the five last updated albums :
<?php printLatestUpdatedAlbums(5, 'showtitle', '','','',''); ?>
with the image_album_statistics.php version 1.2.1 it doesn't work (no thumbnail at all) but I get them with the image_album_statistics.php version 1.2.
My goal is to print 5 custom thumbnails for these albums, you gave me a trick :
in image_album_statistics.php replace
`echo "getAlbumThumb()."\">\n
";`
by
`
$albumthumb = $tempalbum->getAlbumThumbImage();
echo "name."&i=".$albumthumb->name."&s=75&cw=75&ch=75\">\n
";
`
but it doesn't work anymore, the name of the image isn't displayed before "_75_cw75_ch75.jpg" so no thumbnail is diplayed and I I get img src like that :
http://mysuperincrediblesite.com/cache/album2/subalbum2/_75_cw75_ch75.jpg
Ahahah ! I'm lost...
I swear.
(I knew it !)
http://www.zenphoto.org/support/topic.php?id=3490#post-25451
(auuuuutooooooobaaaaaaaaaaahn)